package com.hs.carrental.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hs.carrental.entity.Customer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hs.carrental.vo.customer.CustomerPageVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lyy
 * @since 2021-03-17
 */
@Mapper
public interface CustomerMapper extends BaseMapper<Customer> {

    IPage<CustomerPageVo> getPage(Page page, @Param("customerName") String customerName,
                                  @Param("customerAccount") String customerAccount);
}
